package com.biz.impl;

import com.biz.MenuInfoBiz;
import com.core.AbstractBiz;
import com.dao.MenuInfoDao;
import com.entity.model.MenuInfo;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;


/**
 * Created by asan on 2017/09/17.
 */
@Service
@Transactional
public class MenuInfoBizImpl extends AbstractBiz<MenuInfo> implements MenuInfoBiz {
    @Resource
    private MenuInfoDao menuInfoDao;

    @Override
    public List<MenuInfo> findResAuthorized(Integer managerId, Integer menuType) {
        return menuInfoDao.findResAuthorized(managerId,menuType);
    }
}
